// 监听景点按钮
$('.img-station-1').on('click', function() {
  _hmt.push(['_trackEvent', '120_complex_bianfu', 'click', '0']);
});

$('.img-station-2').on('click', function() {
  _hmt.push(['_trackEvent', '120_complex_hotel', 'click', '0']);
});

$('.img-station-3').on('click', function() {
  _hmt.push(['_trackEvent', '120_complex_jishi_bar', 'click', '0']);
});

$('.img-station-4').on('click', function() {
  _hmt.push(['_trackEvent', '120_complex_resturant', 'click', '0']);
});

//监听查看价格按钮
$('.check-price').on('click', function() {
  _hmt.push(['_trackEvent', '120_complex_price', 'click', '0']);
});

//监听购买商品按钮
$('.check-buy').on('click', function() {
  _hmt.push(['_trackEvent', '120_complex_buy', 'click', '0']);
});

$(function  () {
	$('.check-buy').hide();
	$('.img-station-1').on('click',function  () {
		window.location.href="place?id=1"
	})
	$('.img-station-2').on('click',function  () {
		window.location.href="place?id=2"
	})
	$('.img-station-3').on('click',function  () {
		window.location.href="place?id=3"
	})
	$('.img-station-4').on('click',function  () {
		window.location.href="place?id=4"
	})

	$('.img-intro').fadeOut(4000);

	$('.check-price').on('click',function  () {
		$('.show-price').show();
	})

	$('.show-price').on('click',function  () {
		$('.show-price').hide();
	});

	$('.check-buy').on('click',function  () {
    	window.location.href='http://a.app.qq.com/o/simple.jsp?pkgname=com.lalocal.lalocal';		
	})

	var mohu = setTimeout(changeClear,3000);
	function  changeClear() {
		$('.img-intro').hide();
	}

})
